package com.zqwh.xtool.greendao.db;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import org.greenrobot.greendao.annotation.Generated;

@Entity
public final class Device {

    @Id
    private Long devId;

    private String sn;
    private String name;

    private String rfidType;
    private String rfidUartPath;
    private Integer rfidUartBaudrate;
    private Integer rfidInventoryDuration;
    private Integer rfidAntNumber;
    private Integer rfidPower;

    private String remark;

    private Boolean valid = true;

    @Generated(hash = 912431914)
    public Device(Long devId, String sn, String name, String rfidType,
            String rfidUartPath, Integer rfidUartBaudrate,
            Integer rfidInventoryDuration, Integer rfidAntNumber, Integer rfidPower,
            String remark, Boolean valid) {
        this.devId = devId;
        this.sn = sn;
        this.name = name;
        this.rfidType = rfidType;
        this.rfidUartPath = rfidUartPath;
        this.rfidUartBaudrate = rfidUartBaudrate;
        this.rfidInventoryDuration = rfidInventoryDuration;
        this.rfidAntNumber = rfidAntNumber;
        this.rfidPower = rfidPower;
        this.remark = remark;
        this.valid = valid;
    }

    @Generated(hash = 1469582394)
    public Device() {
    }

    public Long getDevId() {
        return this.devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getValid() {
        return this.valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public String getRfidType() {
        return this.rfidType;
    }

    public void setRfidType(String rfidType) {
        this.rfidType = rfidType;
    }

    public String getRfidUartPath() {
        return this.rfidUartPath;
    }

    public void setRfidUartPath(String rfidUartPath) {
        this.rfidUartPath = rfidUartPath;
    }

    public Integer getRfidInventoryDuration() {
        return this.rfidInventoryDuration;
    }

    public void setRfidInventoryDuration(Integer rfidInventoryDuration) {
        this.rfidInventoryDuration = rfidInventoryDuration;
    }

    public Integer getRfidAntNumber() {
        return this.rfidAntNumber;
    }

    public void setRfidAntNumber(Integer rfidAntNumber) {
        this.rfidAntNumber = rfidAntNumber;
    }

    public Integer getRfidPower() {
        return this.rfidPower;
    }

    public void setRfidPower(Integer rfidPower) {
        this.rfidPower = rfidPower;
    }

    public Integer getRfidUartBaudrate() {
        return this.rfidUartBaudrate;
    }

    public void setRfidUartBaudrate(Integer rfidUartBaudrate) {
        this.rfidUartBaudrate = rfidUartBaudrate;
    }

    @Override
    public String toString() {
        return "devId=" + devId +
                ", sn='" + sn + '\'' +
                ", name='" + name + '\'' +
                ", rfidType='" + rfidType + '\'' +
                ", rfidUartPath='" + rfidUartPath + '\'' +
                ", rfidUartBaudrate=" + rfidUartBaudrate +
                ", rfidInventoryDuration=" + rfidInventoryDuration +
                ", rfidAntNumber=" + rfidAntNumber +
                ", rfidPower=" + rfidPower +
                ", remark='" + remark + '\'' +
                ", valid=" + valid;
    }
}
